SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

delete from dbo.stdtabelasvar where tabela = 'TDU_TipoDocEquivalencia';
delete from dbo.stdcamposvar where tabela = 'TDU_TipoDocEquivalencia';
insert into dbo.stdtabelasvar values('TDU_TipoDocEquivalencia', 'ERP');
insert into dbo.stdcamposvar (tabela, campo, descricao, texto, visivel, ordem) values('TDU_TipoDocEquivalencia', 'CDU_DocumentoPrimavera', 'DocumentoPrimavera', 'DocumentoPrimavera', 1, 1);
insert into dbo.stdcamposvar (tabela, campo, descricao, texto, visivel, ordem) values('TDU_TipoDocEquivalencia', 'CDU_DocumentoProducao', 'DocumentoProducao', 'DocumentoProducao', 1, 2);
go


CREATE TABLE [dbo].[TDU_TipoDocEquivalencia](
	[CDU_DocumentoPrimavera] [varchar](100) NOT NULL,
	[CDU_DocumentoProducao] [varchar](100) NOT NULL,
 CONSTRAINT [PK_TDU_TipoDocEquivalencia] PRIMARY KEY CLUSTERED 
(
	[CDU_DocumentoPrimavera] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO


